import type { wxPayParams } from '@/types/wxPay'
import { http } from '@/utils/http'

//微信支付接口请求
export const wxPayAPI = (data: { userId: number; orderId: number }) => {
  return http<wxPayParams>({
    method: 'GET',
    url: '/pay/prepay',
    data,
  })
}
